package com.gtd.account



import javax.jdo.annotations.*;
import com.google.appengine.api.datastore.Key;

@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable="true")
class ContactGroup implements Serializable {

	@PrimaryKey
  @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	Key key

	@Persistent
	String groupName
	
	@Persistent(mappedBy="contactGroup")
	List<ContactInfo> contactInfos

	@Persistent
	User user

    static constraints = {
	}
}
